home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
B-Book Series
/
(k)b2.d64
/
exe46
< prev
next >
Wrap
Text File
|
2007-02-28
|
296b
|
12 lines
0010 PRINT "ENTER NUMBER OF UNITS",
0020 INPUT NUMBER
0030 PRINT "ENTER PRICE PER UNIT",
0040 INPUT PRICE
0050 IF NUMBER<20 THEN
0060 AMOUNT:=NUMBER*PRICE+15
0070 PRINT "TOTAL PRICE PLUS DELIVERY CHARGE: ",AMOUNT
0080 ELSE
0090 AMOUNT:=NUMBER*PRICE
0100 PRINT "TOTAL PRICE: ",AMOUNT
0110 ENDIF